3.104 \(\int \frac{1}{\sqrt{d x} (a+b \log (c x^n))} \, dx\)

Optimal. Leaf size=64 \[ \frac{\sqrt{d x} e^{-\frac{a}{2 b n}} \left (c x^n\right )^{\left .-\frac{1}{2}\right /n} \text{Ei}\left (\frac{a+b \log \left (c x^n\right )}{2 b n}\right )}{b d n} \]

[Out]

(Sqrt[d*x]*ExpIntegralEi[(a + b*Log[c*x^n])/(2*b*n)])/(b*d*E^(a/(2*b*n))*n*(c*x^n)^(1/(2*n)))

________________________________________________________________________________________

Rubi [A]  time = 0.0605463, antiderivative size = 64, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {2310, 2178} \[ \frac{\sqrt{d x} e^{-\frac{a}{2 b n}} \left (c x^n\right )^{\left .-\frac{1}{2}\right /n} \text{Ei}\left (\frac{a+b \log \left (c x^n\right )}{2 b n}\right )}{b d n} \]

Antiderivative was successfully verified.

[In]

Int[1/(Sqrt[d*x]*(a + b*Log[c*x^n])),x]

[Out]

(Sqrt[d*x]*ExpIntegralEi[(a + b*Log[c*x^n])/(2*b*n)])/(b*d*E^(a/(2*b*n))*n*(c*x^n)^(1/(2*n)))

Rule 2310

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)*x)/n)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int \frac{1}{\sqrt{d x} \left (a+b \log \left (c x^n\right )\right )} \, dx &=\frac{\left (\sqrt{d x} \left (c x^n\right )^{\left .-\frac{1}{2}\right /n}\right ) \operatorname{Subst}\left (\int \frac{e^{\frac{x}{2 n}}}{a+b x} \, dx,x,\log \left (c x^n\right )\right )}{d n}\\ &=\frac{e^{-\frac{a}{2 b n}} \sqrt{d x} \left (c x^n\right )^{\left .-\frac{1}{2}\right /n} \text{Ei}\left (\frac{a+b \log \left (c x^n\right )}{2 b n}\right )}{b d n}\\ \end{align*}

Mathematica [A]  time = 0.0628889, size = 62, normalized size = 0.97 \[ \frac{x e^{-\frac{a}{2 b n}} \left (c x^n\right )^{\left .-\frac{1}{2}\right /n} \text{Ei}\left (\frac{a+b \log \left (c x^n\right )}{2 b n}\right )}{b n \sqrt{d x}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(Sqrt[d*x]*(a + b*Log[c*x^n])),x]

[Out]

(x*ExpIntegralEi[(a + b*Log[c*x^n])/(2*b*n)])/(b*E^(a/(2*b*n))*n*Sqrt[d*x]*(c*x^n)^(1/(2*n)))

________________________________________________________________________________________

Maple [F]  time = 0.108, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{a+b\ln \left ( c{x}^{n} \right ) }{\frac{1}{\sqrt{dx}}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(d*x)^(1/2)/(a+b*ln(c*x^n)),x)

[Out]

int(1/(d*x)^(1/2)/(a+b*ln(c*x^n)),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} 2 \, b n \int \frac{1}{{\left (b^{2} \sqrt{d} \log \left (c\right )^{2} + b^{2} \sqrt{d} \log \left (x^{n}\right )^{2} + 2 \, a b \sqrt{d} \log \left (c\right ) + a^{2} \sqrt{d} + 2 \,{\left (b^{2} \sqrt{d} \log \left (c\right ) + a b \sqrt{d}\right )} \log \left (x^{n}\right )\right )} \sqrt{x}}\,{d x} + \frac{2 \, \sqrt{x}}{b \sqrt{d} \log \left (c\right ) + b \sqrt{d} \log \left (x^{n}\right ) + a \sqrt{d}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*x)^(1/2)/(a+b*log(c*x^n)),x, algorithm="maxima")

[Out]

2*b*n*integrate(1/((b^2*sqrt(d)*log(c)^2 + b^2*sqrt(d)*log(x^n)^2 + 2*a*b*sqrt(d)*log(c) + a^2*sqrt(d) + 2*(b^
2*sqrt(d)*log(c) + a*b*sqrt(d))*log(x^n))*sqrt(x)), x) + 2*sqrt(x)/(b*sqrt(d)*log(c) + b*sqrt(d)*log(x^n) + a*
sqrt(d))

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{d x}}{b d x \log \left (c x^{n}\right ) + a d x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*x)^(1/2)/(a+b*log(c*x^n)),x, algorithm="fricas")

[Out]

integral(sqrt(d*x)/(b*d*x*log(c*x^n) + a*d*x), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{d x} \left (a + b \log{\left (c x^{n} \right )}\right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*x)**(1/2)/(a+b*ln(c*x**n)),x)

[Out]

Integral(1/(sqrt(d*x)*(a + b*log(c*x**n))), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{d x}{\left (b \log \left (c x^{n}\right ) + a\right )}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(d*x)^(1/2)/(a+b*log(c*x^n)),x, algorithm="giac")

[Out]

integrate(1/(sqrt(d*x)*(b*log(c*x^n) + a)), x)